cmake_minimum_required(VERSION 2.8.3)
project(cv_cam_calibration)

add_compile_options(-std=c++11)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
)

# find_package(Boost REQUIRED COMPONENTS system)
find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)

catkin_package(
#  INCLUDE_DIRS include
#  LIBRARIES cv_cam_calibration
#  CATKIN_DEPENDS roscpp rospy std_msgs
#  DEPENDS system_lib
)


include_directories(
  include
  ${catkin_INCLUDE_DIRS}
  ${OpenCV_INCLUDE_DIRS}
  ${EIGEN3_INCLUDE_DIR}
  # ${Boost_INCLUDE_DIRS}
)


add_executable(camera_calibration src/camera_calibration.cpp)
# add_dependencies(robot_camera_node cv_camera)
# add_dependencies(cv_camera_nodelet cv_camera)
target_link_libraries(camera_calibration
  ${OpenCV_LIBS}
)
# target_link_libraries(robot_camera_node
#    ${catkin_LIBRARIES}
#    cv_camera
#  )

